package com.guchenbo.example.dubbo.template;

import org.apache.dubbo.common.URL;
import org.apache.dubbo.rpc.cluster.Router;

public abstract class RouterTemplate implements Router {

  private URL url;

  public RouterTemplate(URL url) {
    this.url = url;
  }

  @Override
  public URL getUrl() {
    return url;
  }

  @Override
  public boolean isRuntime() {
    return false;
  }

  @Override
  public boolean isForce() {
    return false;
  }

  @Override
  public int getPriority() {
    return 0;
  }
}
